#! /bin/bash
echo "from tmp.sh: ${ABC}"
export TOPDIR=$(readlink -f $0 | grep -Eo "/\S+/") && echo ${TOPDIR}
# sudo apt-get remove -y snapdfsdf >/dev/null && echo "Done."
# echo -e "Package: snapd\nPin: release a=*\nPin-Priority: -10" | sudo tee ~/nosnap.pref > /dev/null && echo "Done."
# sudo sed "Package: snapd\nPin: release a=*\nPin-Priority: -10" ./sudo
# echo -e "Package: snapd\nPin: release a=*\nPin-Priority: -10" > ~/nosnap.pref && chmod g-w ~/nosnap.pref && sudo mv ~/nosnap.pref /etc/apt/preferences.d/nosnap.pref